import axios from 'axios';

//post
export const  post = (url, data) => {
    return  axios({
        method: 'post',
        withCredentials: true,
        url:url,
        headers: {
            'Content-Type': 'application/json;charset=UTF-8',
        },
        data: data
    })
};
